/*******************************************************************
This file is part of iLaunch.

iLaunch is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

iLaunch is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with iLaunch.  If not, see <http://www.gnu.org/licenses/>.
*******************************************************************/

#pragma once

#include "stdafx.h"
#include "macros.h"
#include "resourceppc.h"

// These functions are for the main list of appointments
HRESULT sOfficePopulate(DataItem * parent, void (*adder)(DataItem*),
					 CSettings * pSettings);
HRESULT sOfficeGetTitle(DataItem * parent, TCHAR * buffer, int cchDest,
					 CSettings * pSettings);
HRESULT sOfficeGetGroup(DataItem * data, TCHAR * buffer, int cchDest,
					 CSettings * pSettings);
HRESULT sOfficeClick(DataItem * data, float x, 
				  int * newScreen, CSettings * pSettings);

//// These functions are for an appointment details screen
//HRESULT PoomDetailsLoadBitmap(DataItem * data, HBITMAP * phBitmap,
//							  UINT * puWidth, UINT * puHeight);

HRESULT FakeAddItem();